package com.ruoyi.report_lqn.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;
import java.util.Date;



/**
 * 乳化沥青蒸发残留物含量试验检测记录-详情视图对象 report_lqn_rhlqclwjlb_ba_detail
 *
 * @author tll
 * @date 2024-09-12
 */
@Data
@ExcelIgnoreUnannotated
public class ReportLqnRhlqclwjlbBaDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long detailId;

    /**
     * 主表id
     */
    @ExcelProperty(value = "主表id")
    private Long excelId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 样品编号
     */
    @ExcelProperty(value = "样品编号")
    private String yangpbh;

    /**
     * 试样容器、玻璃棒合计质量（g)
     */
    @ExcelProperty(value = "试样容器、玻璃棒合计质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "试样容器、玻璃棒合计质量（g)")
    private BigDecimal hejzl;

    /**
     * 试样容器、玻璃棒及乳液合计质量（g)
     */
    @ExcelProperty(value = "试样容器、玻璃棒及乳液合计质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "试样容器、玻璃棒及乳液合计质量（g)")
    private BigDecimal ruyhjzl;

    /**
     * 试样容器、玻璃棒及残留物合计质量（g)
     */
    @ExcelProperty(value = "试样容器、玻璃棒及残留物合计质量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "试样容器、玻璃棒及残留物合计质量（g)")
    private BigDecimal canlwhjzl;

    /**
     * 蒸发残留物含量（%）
     */
    @ExcelProperty(value = "蒸发残留物含量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal canlwhl;

    /**
     * 蒸发残留物含量平均值（%）
     */
    @ExcelProperty(value = "蒸发残留物含量平均值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal canlwhlPjz;

    public void setHejzl(BigDecimal hejzl) {
        this.hejzl = BigDecimalUtil.stpTrailZero(hejzl);
    }

    public void setRuyhjzl(BigDecimal ruyhjzl) {
        this.ruyhjzl = BigDecimalUtil.stpTrailZero(ruyhjzl);
    }

    public void setCanlwhjzl(BigDecimal canlwhjzl) {
        this.canlwhjzl = BigDecimalUtil.stpTrailZero(canlwhjzl);
    }

    public void setCanlwhl(BigDecimal canlwhl) {
        this.canlwhl = BigDecimalUtil.stpTrailZero(canlwhl);
    }

    public void setCanlwhlPjz(BigDecimal canlwhlPjz) {
        this.canlwhlPjz = BigDecimalUtil.stpTrailZero(canlwhlPjz);
    }
}
